package com.dk.mapper;

import com.dk.pojo.RRole;
import com.dk.pojo.RRoleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RRoleMapper {
    int countByExample(RRoleExample example);

    int deleteByExample(RRoleExample example);

    int deleteByPrimaryKey(Integer rid);

    int insert(RRole record);

    int insertSelective(RRole record);

    List<RRole> selectByExample(RRoleExample example);

    RRole selectByPrimaryKey(Integer rid);

    int updateByExampleSelective(@Param("record") RRole record, @Param("example") RRoleExample example);

    int updateByExample(@Param("record") RRole record, @Param("example") RRoleExample example);

    int updateByPrimaryKeySelective(RRole record);

    int updateByPrimaryKey(RRole record);

    int saveById(RRole rRole);

    List<RRole> getUserById(@Param("uid")Integer uid);
}